package com.winsdom.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.winsdom.entity.TaskExecutionLog;
import org.apache.ibatis.annotations.Mapper;

import java.time.LocalDateTime;

@Mapper
public interface TaskExecutionLogMapper extends BaseMapper<TaskExecutionLog>{
    int existsByTaskNameAndExecutionTime(String taskName, LocalDateTime executionTime);

    int insert(TaskExecutionLog taskExecutionLog);
}